Fix a typo
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Apr 2016 18:38:12 +0000 (14:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 18 Apr 2016 18:38:12 +0000 (14:38 -0400)
We don't want to parse a weight twice, but a weight and a stretch.

gtk/gtkcssshorthandpropertyimpl.c

index 4886395ee83d79b75d1fd10c96ebbded8c9fde6f..bd6058727759bf94a974e6fd4edf84532cf1b1e9 100644 (file)
@@ -503,7 +503,7 @@ parse_font (GtkCssShorthandProperty  *shorthand,
 
       if (values[4] == NULL)
         {
-          values[4] = _gtk_css_font_weight_value_try_parse (parser);
+          values[4] = _gtk_css_font_stretch_value_try_parse (parser);
           parsed_one = parsed_one || values[4] != NULL;
         }
     }